import request from '@/utils/request'

// 查询报修类型列表
export function listReportType(query) {
  return request({
    url: '/system/report/type/list',
    method: 'get',
    params: query
  })
}

// 查询报修类型详细
export function getReportType(code) {
  return request({
    url: '/system/report/type/' + code,
    method: 'get'
  })
}
